.class final Lcom/ninesky/browser/view/bc;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemLongClickListener;


# instance fields
.field final synthetic a:Lcom/ninesky/browser/view/j;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/view/j;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onItemLongClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)Z
    .locals 5

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/Object;

    if-eqz v0, :cond_1

    array-length v1, v0

    const/4 v2, 0x3

    if-lt v1, v2, :cond_1

    const/4 v1, 0x0

    aget-object v1, v0, v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    new-instance v2, Lcom/ninesky/widget/l;

    iget-object v3, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v3}, Lcom/ninesky/browser/view/j;->b(Lcom/ninesky/browser/view/j;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/ninesky/widget/l;-><init>(Landroid/content/Context;)V

    invoke-static {v1, v2}, Lcom/ninesky/browser/view/j;->b(Lcom/ninesky/browser/view/j;Lcom/ninesky/widget/l;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v1}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v1

    const v2, 0x7f020044

    const v3, 0x7f070062

    new-instance v4, Lcom/ninesky/browser/view/az;

    invoke-direct {v4, p0, v0}, Lcom/ninesky/browser/view/az;-><init>(Lcom/ninesky/browser/view/bc;[Ljava/lang/Object;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/ninesky/widget/l;->a(IILandroid/view/View$OnClickListener;)Landroid/view/View;

    iget-object v1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v1}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v1

    const v2, 0x7f02004a

    const v3, 0x7f070008

    new-instance v4, Lcom/ninesky/browser/view/ay;

    invoke-direct {v4, p0, v0}, Lcom/ninesky/browser/view/ay;-><init>(Lcom/ninesky/browser/view/bc;[Ljava/lang/Object;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/ninesky/widget/l;->a(IILandroid/view/View$OnClickListener;)Landroid/view/View;

    iget-object v1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v1}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v1

    const v2, 0x7f020046

    const v3, 0x7f070009

    new-instance v4, Lcom/ninesky/browser/view/ax;

    invoke-direct {v4, p0, v0}, Lcom/ninesky/browser/view/ax;-><init>(Lcom/ninesky/browser/view/bc;[Ljava/lang/Object;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/ninesky/widget/l;->a(IILandroid/view/View$OnClickListener;)Landroid/view/View;

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v1

    invoke-virtual {v1}, Lcom/ninesky/browser/TabControl;->d()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v1}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v1

    const v2, 0x7f020059

    const v3, 0x7f0700ba

    new-instance v4, Lcom/ninesky/browser/view/aw;

    invoke-direct {v4, p0, v0}, Lcom/ninesky/browser/view/aw;-><init>(Lcom/ninesky/browser/view/bc;[Ljava/lang/Object;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/ninesky/widget/l;->a(IILandroid/view/View$OnClickListener;)Landroid/view/View;

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v0}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v0

    invoke-virtual {v0, p2}, Lcom/ninesky/widget/l;->b(Landroid/view/View;)V

    :cond_1
    const/4 v0, 0x1

    return v0
.end method
